﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" 
    Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="gnodotnet.Web.Controllers" %>
<%@ Import Namespace="gnodotnet.Web.Views.Home" %>
<asp:Content ID="indexContent" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
    <script type="text/javascript">
        $(function() {
            $('#menuHome').addClass('current')
            $('iframe').filter(function() { return /calendar/.test($(this).attr('src')) }).css('width', '100%')
         })
    </script>
    
    <% if (ViewContext.TempData[ControllerEnums.GlobalViewDataProperty.PageMessage.ToString()] != null) { %>
        <p id="pageMessage"><%= ViewContext.TempData[ControllerEnums.GlobalViewDataProperty.PageMessage.ToString()]%></p>
    <% } %>

    <div id="sponsorsContainer" class="container sidepanel" style="height:482px; margin-right: 20px;"> 
        <h2>Sponsors</h2> 
        <ul id="sponsorsList" style="list-style-type: none">
            <li><%= Html.ImageLink("Sponsors/new_horizons.gif", "New Horizons", "http://www.newhorizons-no.com/")%></li>
            <li><%= Html.ImageLink("Sponsors/strategicstaff.png", "Strategic Staffing Solutions", "http://strategicstaff.com/")%></li>
            <li><%= Html.ImageLink("Sponsors/jetbrains.png", "JetBrains", "http://www.jetbrains.com/")%></li>
            <li><%= Html.ImageLink("Sponsors/apress.png", "Apress Books", "http://www.apress.com/")%></li>
            <li><%= Html.ImageLink("Sponsors/oreilly.png", "O'Reilly Books", "http://oreilly.com/")%></li>
            <li><%= Html.ImageLink("Sponsors/informit.png", "InformIT", "http://www.informit.com/index.aspx")%></li>
            <li><%= Html.ImageLink("Sponsors/willstaff.gif", "WillStaff Worldwide", "http://www.willstaff.net/")%></li>
            <li><%= Html.ImageLink("Sponsors/teksystems.gif", "TekSystems", "http://www.teksystems.com/Locations/United-States/Louisiana/New-Orleans.aspx")%></li>
        </ul>
    </div>
    <div id="calendarContainer" class="container" style="width: 61%; height: 482px; float: left;"> &nbsp;
        <iframe src="http://www.google.com/calendar/embed?mode=AGENDA&amp;height=462&amp;wkst=1&amp;bgcolor=%23FFAD57&amp;src=ck1tburd835alnt9rr3li68128%40group.calendar.google.com&amp;color=%23AB8B00&amp;src=h72ip2h5e4nvvqnqvo4nqskf6g%40group.calendar.google.com&amp;ctz=America%2FChicago" style=" border-width:0 " width="482" height="462" frameborder="0" scrolling="no"></iframe>
    </div>    
    <span id="mailingListContainer" class="container sidepanel" style="margin-left: 20px; padding-top: 0px; margin-bottom: 20px;"> 
        <p>
            Please register for our <a href="http://tinyurl.com/gno-net">LinkedIn Group</a> and
            <a href="http://tinyurl.com/0210-gno-net">RSVP for our next meeting</a>.
        </p>
    </span>
    <span id="adminLoginContainer" class="container sidepanel" style="margin-left: 20px; padding-top: 0px; margin-bottom: 20px;"> 
        <% Html.RenderPartial("LoginForm"); %>
    </span>
</asp:Content>
